package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LumiereSubscribeRule;
import org.linlinjava.litemall.db.domain.LumiereSubscribeRuleExample;

public interface LumiereSubscribeRuleMapper {
    long countByExample(LumiereSubscribeRuleExample example);

    int deleteByExample(LumiereSubscribeRuleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LumiereSubscribeRule record);

    int insertSelective(LumiereSubscribeRule record);

    LumiereSubscribeRule selectOneByExample(LumiereSubscribeRuleExample example);

    LumiereSubscribeRule selectOneByExampleSelective(@Param("example") LumiereSubscribeRuleExample example, @Param("selective") LumiereSubscribeRule.Column ... selective);

    List<LumiereSubscribeRule> selectByExampleSelective(@Param("example") LumiereSubscribeRuleExample example, @Param("selective") LumiereSubscribeRule.Column ... selective);

    List<LumiereSubscribeRule> selectByExample(LumiereSubscribeRuleExample example);

    LumiereSubscribeRule selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LumiereSubscribeRule.Column ... selective);

    LumiereSubscribeRule selectByPrimaryKey(Integer id);

    LumiereSubscribeRule selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LumiereSubscribeRule record, @Param("example") LumiereSubscribeRuleExample example);

    int updateByExample(@Param("record") LumiereSubscribeRule record, @Param("example") LumiereSubscribeRuleExample example);

    int updateByPrimaryKeySelective(LumiereSubscribeRule record);

    int updateByPrimaryKey(LumiereSubscribeRule record);

    int logicalDeleteByExample(@Param("example") LumiereSubscribeRuleExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}